#include "mytreeview.h"

MyTreeView::MyTreeView(QWidget *parent)
    : QWidget(parent)
{
    model = new QDirModel;
    model->setReadOnly(false);
    model->setSorting(QDir::DirsFirst | QDir::IgnoreCase | QDir::Name);

    treeView = new QTreeView;
    treeView->setModel(model);
    treeView->header();

}

MyTreeView::~MyTreeView()
{

}

void MyTreeView::rm()
{

}

void MyTreeView::mkdir()
{

}
